<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="其他收入审核" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script src="/js/popup_ext.js"></script>
<script language="javascript">
	function doCancel(){
		parent.ClosePop();
	}
	function doExamine(id){
		ShowConfirm('确认框','确定审核通过吗？',340,80,"doExamineCallBack("+id+")");
	}
	function doExamineCallBack(id){
		if(popRetVal!=null){
			window.location="IncomeBillExamine.ihtm?id_str="+id+"&flag=1";
		}
	}
	function doInit(){
	}
</script>
</head>
<body oncontextmenu="return false" onload="doInit();" class="sheet modal-dialog" style=" padding-top:10px;">
<div class="sheet-main" id="bodyDiv" style="width:860px;">
  <div class="sheet-list" style="width:100%">
    <div class="modal-main search-business">
    	<div style="width:100%;">
		<table border="0" cellspacing="0" cellpadding="0" align="center" class="table-0">
			<tr>
				<td style="width:33%" rowspan="2"></td>
				<td style="width:33%;text-align:center" rowspan="2"><h2>其他收入审核</h2></td>
				<td style="width:34%" class="tr">
					编号：${record.billCode}
				</td>
			</tr>
			<tr>
				<td class="tr">日期：<fmt:formatDate value="${record.incomeDate}" pattern="yyyy-MM-dd"/></td>
			</tr>
		</table>
		
		<table border="0" cellspacing="0" cellpadding="0" align="center" class="table-0">
		    <tr>
				<td class="InfoTitleDivider"></td>
			</tr>
		</table>
		
		<table border="0" cellspacing="0" cellpadding="0" align="center" class="table-a2 BillElseInfo">
			<tr>
		      	<th>付款单位：</th>
			    <td >${record.payerName}</td>
		      	<th>经办人：</th>
			   	<td >${record.managerName}</td>
		     	<th >部门：</th>
			    <td  width="26%"><commonTag:showSimpleObjectName list="${departmentList}" objectId="${record.departmentId}" /></td>
		    </tr>
		    <tr>
		    	<th>收入类型：</th>
				<td ><commonTag:showSimpleObjectName list="${incomeTypeList}" objectId="${record.incomeTypeId}" /></td>
				<th>银行账号：</th>
		    	<td ><commonTag:showSimpleObjectName list="${bankAccountList}" objectId="${record.bankAccountId}" /></td>
				<th>收款金额：</th>
		    	<td >${record.cost}</td>
		    </tr>
		    <tr>
		    	<th>摘要：</th>
		    	<td colspan="5">${record.mark}</td>
		    </tr>
		    <tr>
		    	<th>凭证：</th>
		    	<td colspan="5">
		    		<c:if test="${attFile!=null && attFile!=''}">
						<a href="${record.attachFile}" target="_blank">${attFile}</a>
					</c:if>
		    	</td>
		    </tr>
		</table>
		
		<table border="0" cellspacing="0" cellpadding="0" align="center" class="table-0">
		    <tr>
				<td class="InfoTitleDivider"></td>
			</tr>
		</table>
		
		<p class="give">
			<span>开单人：${record.createrName} <c:if test="${record.createTime!=null}"><fmt:formatDate value="${record.createTime}" pattern="yyyy-MM-dd HH:mm"/></c:if></span>
        	<span>审核人：<c:if test="${record.examinerId!=0}">${record.examinerName} <c:if test="${record.examineTime!=null}"><fmt:formatDate value="${record.examineTime}" pattern="yyyy-MM-dd HH:mm"/></c:if></c:if></span>
        	<span>单据帐套：${tallySet.title}</span>
		</p>
		</div>
	   </div>
  </div>
	<div class="modal-buttom">
			<input type="button" class="buttom-a" value=" 审核通过" onClick="doExamine('${record.id}');">
			<input type="button" class="buttom-a" value=" 退 出 " onClick="doCancel();">		
	</div>
</div>
</body>
</html>